package cn.enjoy.design.structure.zuhe.engine;

import cn.enjoy.design.structure.zuhe.entity.EngineResult;
import cn.enjoy.design.structure.zuhe.entity.Node;

import java.util.Map;

/**
 * @author K
 * @date 2021/5/24 下午2:44
 */
public interface IEngine {

    /**
     * 执行匹配
     *
     * @param decisionMatter 匹配库
     * @return EngineResult
     */
    EngineResult process(Node nodeRoot, Map<String, String> decisionMatter);

}
